ATSUAttributeInfo
The ATSUAttributeInfo type is a structure containing an attribute tag that identifies a particular attribute value and the data size (in bytes) of that attribute value.
Several ATSUI functions pass back an array of structures of this type. The function ATSUGetAllAttributes passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set style run attribute values and the corresponding style run attribute tags that identify those style run attribute values. The function ATSUGetAllLayoutControls passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set text layout attribute values for an entire text layout object and the corresponding text layout attribute tags that identify those text layout attribute values. The function ATSUGetAllLineControls passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set text layout attribute values for a single line in a text layout object and the corresponding text layout attribute tags that identify those text layout attribute values.
typedef struct {
ATSUAttributeTag fTag;
ByteCount fValueSize
}ATSUAttributeInfo;
Field descriptions
-
fTag
-
Identifies a particular style run or text attribute value. For a description of the Apple-defined style run and text layout attribute tag constants, see Style Run Attribute Tag Constants and Text Layout Attribute Tag Constants, respectively.
-
fValueSize
-
The size (in bytes) of the style run or text layout attribute value.
VERSION NOTES
-
Available beginning with ATSUI 1.0.
© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)